package com.linx.common.core.domain.model;

import lombok.Data;

import java.util.List;


@Data
public class RoleEnumBody {


    /**
     * 角色权限
     */
    private String roleKey;


    /**
     * 角色排序
     */
    private Integer roleSort;

    /**
     * 角色名称
     */
    private String roleName;

    private final List<List<String>> permList;


    public RoleEnumBody(String roleKey, Integer roleSort, String roleName, List<List<String>> permList) {
        this.roleKey = roleKey;
        this.roleSort = roleSort;
        this.roleName = roleName;
        this.permList = permList;
    }
}
